sgpb\SGPopup D

Total Complexity 321
Dependencies 6
Dependents 11
Total lines 1,740
Lines of code 1,191
Logical lines of code 748
Comment lines 172
Methods 92
Properties 13

Methods 92

Method Rating Maintainability Complexity Lines of code
find()
B
35 21 84
savePopupsFromContentClasses()
B
37 19 88
targetSave()
A
42 12 49
collectInsidePopupShortcodes()
A
50 12 27
getSubPopupObj()
A
51 12 24
getOptionValueFromSavedData()
A
51 11 26
getAllPopups()
A
49 10 32
popupOptionsSave()
A
48 9 31
saveToTargetAndEvents()
A
45 8 45
eventsSave()
A
48 8 33
parsePopupDataFromData()
A
56 9 16
customScriptsSave()
A
47 7 37
sanitizeValueByType()
S
52 7 28
popupShortcodesInsidePopup()
S
51 7 26
getSavedData()
S
54 7 22
save()
S
53 6 24
getPopupAllEvents()
S
55 6 19
getPopupShortcodeMatchesFromContent()
S
59 6 14
getActivePopupsQueryString()
S
51 5 25
create()
S
52 5 24
getPopupsIdAndTitle()
S
55 5 21
recursiveSanitizeTextField()
S
57 5 18
renderPopupContentShortcode()
S
51 4 29
changeDefaultOptionsByNames()
S
60 5 13
getPopupsByTermSlug()
S
52 4 27
convertImagesToData()
S
52 4 26
createPopupTypeObjById()
S
53 4 22
getContent()
S
57 4 18
getPopupTypes()
S
56 4 18
shapeEventsToOneArray()
S
59 4 15
saveToEventsFromPage()
S
59 4 14
recursiveHtmlSpecialchars()
S
60 4 14
getDefaultDataByName()
S
63 4 12
getPopupOptionsById()
S
62 4 11
getPopupOpeningCountById()
S
58 3 15
saveToTargetFromPage()
S
64 3 9
getOptionDefaultValue()
S
69 2 7
allowToLoad()
S
67 2 7
getTargetDataById()
S
68 2 7
getEventsDataById()
S
68 2 7
getStringNextNumbersByReg()
S
66 2 8
getCustomInsertedPopupEventsByPostId()
S
67 2 8
allowToLoadAJAX()
S
67 2 7
getPostPopupCustomEvent()
S
67 2 8
setSavedPopupById()
S
71 2 6
boolToChecked()
S
79 2 3
getPopupTypeClassPath()
S
67 2 8
getCustomInsertedDataByPostId()
S
66 2 8
insertIntoSanitizedData()
S
72 2 5
addAdditionalSettings()
S
82 1 3
deleteAnalyticsDataByPopupId()
S
71 1 5
deletePostCustomInsertedData()
S
79 1 3
getAnalyticsDataByPopupId()
S
69 1 6
getPopupTypeMainView()
S
82 1 3
getPopupTypeOptionsView()
S
82 1 3
getSiteLocale()
S
72 1 5
getRemoveOptions()
S
76 1 4
doInsideShortcode()
S
80 1 3
getTablesSql()
S
81 1 3
getTableNames()
S
81 1 3
deletePostCustomInsertedEvents()
S
79 1 3
setId()
S
81 1 3
getOptionValue()
S
69 1 6
setLoadableModes()
S
81 1 3
setTitle()
S
81 1 3
getTitle()
S
82 1 3
setType()
S
81 1 3
getType()
S
82 1 3
setTarget()
S
81 1 3
getTarget()
S
82 1 3
setEvents()
S
81 1 3
getEvents()
S
82 1 3
setConditions()
S
81 1 3
getConditions()
S
82 1 3
setOptions()
S
81 1 3
getOptions()
S
82 1 3
getLoadableModes()
S
82 1 3
getId()
S
81 1 3
setSaveMode()
S
81 1 3
getSaveMode()
S
82 1 3
setSavedPopup()
S
81 1 3
getSavedPopup()
S
82 1 3
setContent()
S
81 1 3
setReportData()
S
63 1 10
setPostData()
S
79 1 3
getPostData()
S
82 1 3
getPopupTypeContent()
S
81 1 3
getExtraRenderOptions()
S
100 1 0
setSanitizedData()
S
81 1 3
getSanitizedData()
S
82 1 3
getPopupClassNameFormType()
S
71 1 5
isActive()
S
79 1 3